Termination Proof Script
Consider the TRS R consisting of the rewrite rules
|
1: |
|
from(X) |
→ cons(X,from(s(X))) |
2: |
|
sel(0,cons(X,Y)) |
→ X |
3: |
|
sel(s(X),cons(Y,Z)) |
→ sel(X,Z) |
|
There are 2 dependency pairs:
|
4: |
|
FROM(X) |
→ FROM(s(X)) |
5: |
|
SEL(s(X),cons(Y,Z)) |
→ SEL(X,Z) |
|
The approximated dependency graph contains 2 SCCs:
{4}
and {5}.
-
Consider the SCC {4}.
There are no usable rules.
The constraints could not be solved.
-
Consider the SCC {5}.
There are no usable rules.
By taking the AF π with
π(SEL) = 1 together with
the lexicographic path order with
empty precedence,
rule 5
is strictly decreasing.
Tyrolean Termination Tool (0.00 seconds)
--- May 4, 2006